<?php

return [
    'adminEmail' => 'admin@example.com',
    'menu'=>[
        1=>[
            'goodsManage'=>[
                'name'=>'商品管理',
                'sub'=>[
                    ['name'=>'商品列表','url'=>['platform/goods']],
                    ['name'=>'货品列表','url'=>['platform/product']],
                    ['name'=>'商品品牌','url'=>['platform/brand']],
                    ['name'=>'商品类目','url'=>['platform/goods-category']],
                    ['name'=>'商品类型','url'=>['platform/goods-type']],
                    ['name'=>'商品属性','url'=>['platform/goods-attr']],
                ]
            ],
            'orderManage'=>[
                'name'=>'订单管理',
                'sub'=>[
                    ['name'=>'订单列表','url'=>['platform/order']],
                ]
            ],
            'userManage'=>[
                'name'=>'用户管理',
                'sub'=>[
                    ['name'=>'用户列表','url'=>['platform/user']],
                    ['name'=>'充值/提现审核','url'=>['platform/user/']],
                    ['name'=>'管理员列表','url'=>['platform/admin']],
                ]
            ],
            'financeManage'=>[
                'name'=>'财务管理',
                'sub'=>[
                    ['name'=>'往来单位','url'=>''],
                    ['name'=>'收支账户','url'=>''],
                    ['name'=>'收支项目','url'=>''],
                    ['name'=>'外部存取','url'=>''],
                    ['name'=>'内部转账','url'=>''],
                    ['name'=>'收支开单','url'=>''],
                    ['name'=>'应收应付汇总','url'=>''],
                    ['name'=>'收支审核','url'=>''],
                    ['name'=>'流水日志','url'=>''],
                ]
            ],
            'systemSet'=>[
                'name'=>'系统设置',
                'sub'=>[
                    ['name'=>'系统设置','url'=>''],
                    ['name'=>'管理员列表','url'=>['platform/admin-user']],
                    ['name'=>'管理员角色','url'=>['platform/admin-role']],
                    ['name'=>'地区设置','url'=>['platform/region']],
                    ['name'=>'支付方式','url'=>['platform/payment']],
                    ['name'=>'配送方式','url'=>['platform/shipping']],
                    ['name'=>'计划任务','url'=>['platform/cron']],
                    ['name'=>'配送中心','url'=>['platform/delivery']],
                    ['name'=>'供应商列表','url'=>['platform/supplier']],
                    ['name'=>'APP列表','url'=>['platform/app']],
                    ['name'=>'系统日志','url'=>['platform/log']],
                ]
            ],
            'dbManage'=>[
                'name'=>'数据库管理',
                'sub'=>[
                    ['name'=>'数据备份','url'=>['platform/db/backup']],
                    ['name'=>'数据表优化','url'=>['platform/db/optimization']],
                    ['name'=>'SQL查询','url'=>['platform/db/query']],
                ]
            ],
            'reprotManage'=>[
                'name'=>'统计报表',
                'sub'=>[
                    ['name'=>'商品统计','url'=>['platform/report/query']],
                    ['name'=>'订单统计','url'=>['platform/report/order']],
                    ['name'=>'财务统计','url'=>['platform/report/money']],
                ]
            ],
        ],
        
        2=>[
            'orderManage'=>[
                'name'=>'订单管理',
                'sub'=>[
                    ['name'=>'添加订单','url'=>['supplier/order/default/create']],
                    ['name'=>'订单列表','url'=>['supplier/order/default']],
                    ['name'=>'配货单','url'=>['supplier/order/default']],
                    ['name'=>'发货单','url'=>['supplier/order/default']],
                    ['name'=>'退货单','url'=>['supplier/order/default']],
                ]
            ],
            'goodsManage'=>[
                'name'=>'商品管理',
                'sub'=>[
                    ['name'=>'添加商品','url'=>['supplier/goods/default/create']],
                    ['name'=>'商品列表','url'=>['supplier/goods/default']],
                    ['name'=>'货品列表','url'=>['supplier/goods/product']],
                    ['name'=>'商品分类','url'=>['supplier/goods/class']],
                    ['name'=>'商品回收站','url'=>['supplier/goods/recycle']],
                ]
            ],
            'storageManage'=>[
                'name'=>'仓库管理',
                'sub'=>[
                    ['name'=>'厂家列表','url'=>['supplier/storage/factory']],
                    ['name'=>'仓库列表','url'=>['supplier/storage/default']],
                    ['name'=>'货架列表','url'=>['supplier/storage/rack']],
                    ['name'=>'货位列表','url'=>['supplier/storage/slot']],
                    ['name'=>'采购进货单','url'=>['supplier/storage/purchase-in']],
                    ['name'=>'采购退货单','url'=>['supplier/storage/purchase-out']],
                    ['name'=>'入库单','url'=>['supplier/storage/in']],
                    ['name'=>'出库单','url'=>['supplier/storage/out']],
                    ['name'=>'异动单','url'=>['supplier/storage/change']],
                ]
            ],
            'financeManage'=>[
                'name'=>'财务管理',
                'sub'=>[
                    ['name'=>'往来单位','url'=>''],
                    ['name'=>'收支账户','url'=>''],
                    ['name'=>'收支项目','url'=>''],
                    ['name'=>'外部存取','url'=>''],
                    ['name'=>'内部转账','url'=>''],
                    ['name'=>'收支开单','url'=>''],
                    ['name'=>'应收应付汇总','url'=>''],
                    ['name'=>'收支审核','url'=>''],
                    ['name'=>'流水日志','url'=>''],
                ]
            ],
            'systemSet'=>[
                'name'=>'系统设置',
                'sub'=>[
                    ['name'=>'管理员列表','url'=>''],
                    ['name'=>'管理员日志','url'=>''],
                    ['name'=>'角色管理','url'=>''],
                    ['name'=>'配送方式','url'=>''],
                    ['name'=>'配送公司','url'=>''],
                    ['name'=>'系统设置','url'=>''],
                ]
            ],
            'reprotManage'=>[
                'name'=>'统计报表',
                'sub'=>[
                    ['name'=>'订单列表','url'=>''],
                    ['name'=>'财务统计','url'=>''],
                ]
            ],
        ],
        
        3=>[
            
        ],
    ],
];
